package com.myapi.client.DAO;

import java.io.Serializable;
import java.util.ArrayList;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.myapi.client.PlayerHandDAO;



@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class StatisticDAO  implements Serializable{

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	protected Long ident;
	@Persistent
	private PlayerDAO player;
	@Persistent
	private ArrayList<PlayerHandDAO> listHand;
	
	public PlayerDAO getPlayer() {
		return player;
	}
	public void setPlayer(PlayerDAO player) {
		this.player = player;
	}
	public ArrayList<PlayerHandDAO> getListHand() {
		return listHand;
	}
	public void setListHand(ArrayList<PlayerHandDAO> listHand) {
		this.listHand = listHand;
	}
	
}
